package Protect0;

import Protect.A;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2022-09-09
 * Time:8:27
 */
public class D {
    public static void main(String[] args) {
        A a=new A();
        a.a=30;
        //编译报错，protected、default、private都不能在不同包下的非子类中访问
//        a.b=40;
//        a.c=20;
//        a.d=10;
    }
}
